package com.ultimatech.webappdemo.base;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Think on 8/31 0031.
 */
public class PageResult<T> implements Serializable {
    private List<T> result;
    private PageParameter page;

    public PageResult(List<T> result, PageParameter page) {
        this.result = result;
        this.page = page;
    }

    public List<T> getResult() {
        return result;
    }

    public void setResult(List<T> result) {
        this.result = result;
    }

    public PageParameter getPage() {
        return page;
    }

    public void setPage(PageParameter page) {
        this.page = page;
    }
}
